Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface KoneState<out Value>

Functions

Link copied to clipboard
Link copied to clipboard
fun <Value> KoneMutableAsynchronousState(initialElement: Value, elementEquality: Equality<Value> = defaultEquality()): KoneMutableAsynchronousState<Value>
Link copied to clipboard
fun <Value> KoneMutableState(initialElement: Value, elementEquality: Equality<Value> = defaultEquality()): KoneMutableState<Value>
Link copied to clipboard
suspend fun <Value, Result> KoneAsynchronousState<Value>.map(elementEquality: Equality<Result> = defaultEquality(), transform: (Value) -> Result): KoneMutableAsynchronousState<Result>
fun <Value, Result> KoneState<Value>.map(elementEquality: Equality<Result> = defaultEquality(), transform: (Value) -> Result): KoneState<Result>
Link copied to clipboard
suspend fun <Value> KoneAsynchronousState<Value>.toStateFlow(): StateFlow<Value>
fun <Value> KoneState<Value>.toStateFlow(): StateFlow<Value>
Link copied to clipboard
suspend fun <Value> KoneMutableAsynchronousState<Value>.update(function: (Value) -> Value)
fun <Value> KoneMutableState<Value>.update(function: (Value) -> Value)
Link copied to clipboard